<?php

namespace App\Models\Coll;

use App\Models\BasicModel;
use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;


class Collection extends BasicModel
{
	use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'collection';

    public function debris()
    {
        return $this->hasMany(CollectionDebri::class, 'c_id', 'id');
    }

}
